package com.hqyj.servletdemo.service.impl;

import com.hqyj.servletdemo.dao.UsersDao;
import com.hqyj.servletdemo.dao.impl.UsersDaoImpl;
import com.hqyj.servletdemo.service.UsersService;

public class UsersServiceImpl implements UsersService {

    private UsersDao usersDao = new UsersDaoImpl();

    @Override
    public boolean login(String identify, String password) {
        return usersDao.login(identify,password);
    }
}
